<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	template="/templates/accountTemplate.xhtml">



	<ui:define name="windowTitle">
            #{msgs.loginTitle}
         </ui:define>
	<ui:define id="newAccount" name="content">


		<h:form>
			<h:panelGrid columns="2">
				<h:outputLabel styleClass="textStyle" value="Imie:" />
				<h:inputText value="#{accountBean.firstName}"
					style="font-size: 14px; font-style:oblique; width: 100%" />
				
				<h:outputLabel styleClass="textStyle" value="Nazwisko:" />
				<h:inputText value="#{accountBean.lastName}"
					style="font-size: 14px; font-style:oblique; width: 100%" />
					
				<h:outputLabel styleClass="textStyle" value="Mail:" />
				<h:inputText value="#{accountBean.mail}"
					style="font-size: 14px; font-style:oblique; width: 100%" />
				
				<h:outputLabel styleClass="textStyle" value="Hasło:" />
				<h:inputSecret value="#{accountBean.password}"
					style="font-size: 14px; font-style:oblique; width: 100%" />
				

				<h:commandButton action="#{accountBean.createAccount}"
					value="Zapisz" />
				<h:commandButton action="#{accountBean.cancel}"
					value="Anuluj" />
			</h:panelGrid>

		</h:form>
	</ui:define>

</ui:composition>